console.log(state.formData);
console.log("begin----------------");
axios
  .post("/conference_notice/viewsets/",
    {
      danwei_id: state.formData.参会单位,
    }
  )
  .then((res) => console.log(res.data))
  .catch(err => console.log(err))


  // axios
  // .post("/attend_situation/viewsets/",
  //   {
  //     person_id: state.formData.出席领导,
  //     situation:'出席'
  //   }
  // )
  // .then((res) => console.log(res.data))
  // .catch(err => console.log(err))


  // axios
  // .post("/attend_situation/viewsets/",
  //   {
  //     person_id: state.formData.列席领导,
  //     situation:'列席'
  //   }
  // )
  // .then((res) => console.log(res.data))
  // .catch(err => console.log(err))


  for (let i of state.formData.出席) {
      axios
      .post("/attend_situation/viewsets/",
        {
          person_id: i,
          situation: "出席",
          conference_id: conference_id
        }
      )
      .then((res) => res.data)
    }


    for (let i of state.formData.出席) {
        axios
        .post("/attend_situation/viewsets/",
          {
            person_id: i,
            situation: "出席",
            conference_id: conference_id
          }
        )
        .then((res) => res.data)
      }




  axios
  .post("/conference_notice/viewsets/",
      {
          accepter: state.formData.接通知人,
      }
  )
  .then((res) => console.log(res.data))
  .catch(err => console.log(err))


axios
  .post("/conference_notice/viewsets/",
      {
          memo: state.formData.备注,
      }
  )
  .then((res) => console.log(res.data))
  .catch(err => console.log(err))

console.log("end----------------");
